﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PortalParts/Portal.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ZHDJ.Web.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/Resource/themes/default/css/login.css" rel="stylesheet" />
    <script src="/Resource/js/utility.js"></script>
    <script src="/Resource/js/login.js?v=1.5"></script>
    <script type="text/javascript">
        $(function () {
            var isalterMessage = querystring("AlertTooltip");
            if (isalterMessage)
                alert("该操作需要先登录。");

            $("#ctl00_ContentPlaceHolder1_hdUrl").val(document.location);
        });

        //防止框架页打开
        if (window.top != null && window.top.location != window.location) {
            window.top.location = window.location;
        }

        

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:HiddenField runat="server" ID="hdUrl" />
    <div class="s_content_k">
        <div class="reptab" style="overflow: hidden;">
            <span class="tabrecur" style="float: left;">欢迎登录</span>
            <span style="float: right;">
                <a href="Register.aspx">用户注册</a>
            </span>
            <span style="display: none">
                <asp:Button runat="server" ID="Button1" OnClientClick="return false;" Text="防止用户按回车键" />
            </span>
        </div>
        <div class="login form login-form">

            <div class="lleft" style="float: right;">
                <div class="item item-fore1">
                    <label for="ctl00_ContentPlaceHolder1_txtLoginName" class="login-label name-label">用户名称</label>
                    <div class="login-label-icon"></div>
                    <asp:TextBox runat="server" ID="txtLoginName" CssClass="itxt" TabIndex="1" autocomplete="off"
                        placeholder="请输入用户名称"></asp:TextBox>
                    <span class="clear-btn"></span>
                </div>
                <div id="entry" class="item item-fore2">
                    <label class="login-label pwd-label" for="ctl00_ContentPlaceHolder1_txtLoginPwd">用户密码</label>
                    <div class="login-label-icon password"></div>
                    <asp:TextBox runat="server" ID="txtLoginPwd" TextMode="Password" CssClass="itxt itxt-error" TabIndex="2" autocomplete="off"
                        placeholder="请输入用户密码"></asp:TextBox>
                </div>
                <div class="msg-wrap" style="display: none;">
                    <%--<div class="msg-warn hide"><b></b></div>--%>
                    <%--                    <div class="msg-error hide"><b></b></div>--%>
                </div>
                <div class="login2" style="display: none;">
                    <asp:CheckBox runat="server" ID="ckbRe" />
                    <label for="ctl00_ContentPlaceHolder1_ckbRe">
                        记住密码
                    </label>
                </div>
                <div class="btntool">
                    <button type="button" class="login_p" id="btnLogins" style="width: 320px; height: 52px; line-height: 52px; padding: 0; background: #ea0900; font-size: 16px; color: #fff; text-align: center; border: none; cursor: pointer;">立即登录</button>
                    <%--<button type="reset" class="button orange login_p">重置</button>--%>
                    <button type="button" class="login_s" style="display: none; width: 320px; height: 52px; line-height: 52px; padding: 0; background: #ea0900; font-size: 16px; color: #fff; text-align: center; border: none;">登录中，请稍候……</button>
                </div>
                <div style="display: none">
                    <asp:Button runat="server" ID="btnLogin" OnClick="btnLogin_Click" Text="登录" />
                </div>
            </div>
            <div class="lright" style="float: left;">
                <div style="font-size: 18px; color: #ffffff; line-height: 36px; text-align: center; font-weight: 700;">入党誓词</div>
                <p>我志愿加入中国共产党，拥护党的纲领，遵守党的章程，履行党员义务，执行党的决定，严守党的纪律，保守党的秘密，对党忠诚，积极工作，为共产主义奋斗终身，随时准备为党和人民牺牲一切，永不叛党。</p>
            </div>
            <div style="float: left; height: 240px; width: 1px; background: #dfe2e3;"></div>
            <div style="clear: both"></div>
        </div>
        <div style="clear: both"></div>
        <div style="display: none">
            <iframe id="ifExam"></iframe>
        </div>
    </div>
</asp:Content>
